/*
 * @Author: wangding
 * @Date: 2020-08-27 10:43:23
 * @LastEditTime: 2020-09-25 15:54:07
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \SolaxCloud\src\store\index.js
 */
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        siteId: '',
        ExportLimitValue: '',
        routerChange: []
    },
    mutations: {
        setSiteId(state, val) {
            this.state.siteId = val
        },
        pushRouterChange(state, val) {
            this.state.routerChange.push(val)
        },
        setRouterChange(state, val) {
            this.state.routerChange = val
        },
    },
    actions: {},
    modules: {}
})